package xin.sunzy.ssms.entity.po;

import com.fasterxml.jackson.annotation.JsonIgnore;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;

/**
 * Created by 17070725 on 2017/8/17.
 */

@Alias("valid")
public class Valid implements Serializable {

    @JsonIgnore
    private Integer id;
    private String code;
    private String content;

    public Valid() {
    }

    public Valid(String code, String content) {
        this.code = code;
        this.content = content;
    }

    @Override
    public String toString() {
        return new org.apache.commons.lang3.builder.ToStringBuilder(this)
                .append("id", id)
                .append("code", code)
                .append("content", content)
                .toString();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
